<?php

namespace App\Exceptions;

use Matrix\Exception;
use Throwable;

/**
 * 业务异常类
 * Class HttpException
 */
class BusinessException extends Exception
{
    public function __construct($message = '', Throwable $previous = null)
    {
        $code = 500;
        parent::__construct($message, $code, $previous);
    }
}
